/*
 * test.h
 *
 *  Created on: 2024年7月8日
 *      Author: Administrator
 */

#ifndef _TEST_H_
#define _TEST_H_
#include <myusb/host_msd_fatfs.h>
#include <myusb/usb_host_config.h>
#include "ffconf.h"
#include "lwip/opt.h"
#include "fsl_adapter_gpio.h"
#include "fsl_debug_console.h"
#include "ping.h"
#include "lwip/netifapi.h"
#include "lwip/tcpip.h"
#include "netif/ethernet.h"
#include "ethernetif.h"
#include "pin_mux.h"
#include "board.h"
#include "fsl_silicon_id.h"
#include "fsl_phy.h"
#include "fsl_enet.h"
#include "fsl_phyrtl8201.h"
#include "fsl_phyrtl8211f.h"
#include "fsl_flexcan.h"
#include "sockets.h"
#include <stdio.h>
#include <string.h>
#include "fsl_sd.h"
#include "fsl_debug_console.h"
#include "ff.h"
#include "diskio.h"
#include "fsl_sd_disk.h"
#include "FreeRTOS.h"
#include "semphr.h"
#include "task.h"
#include "limits.h"
#include "pin_mux.h"
#include "clock_config.h"
#include "board.h"
#include "sdmmc_config.h"
#include "igmp.h"
#include "fsl_snvs_hp.h"
#include "fsl_snvs_lp.h"
#include "usb_host.h"
#include "usb_host_msd.h"
#include "ftpd.h"
#include "sbl_ota_flag.h"
#include "sd.h"
#define ENET1GSENDMULTIADDR "239.255.66.1"
#define ENET1GRECVMULTIADDR "239.255.66.2"

#define ENETIPADDR0 10
#define ENETIPADDR1 0
#define ENETIPADDR2 21
#define ENETIPADDR3 61
#define ENETMASK0 255
#define ENETMASK1 255
#define ENETMASK2 255
#define ENETMASK3 0
#define ENETGWADDR0 10
#define ENETGWADDR1 0
#define ENETGWADDR2 21
#define ENETGWADDR3 1
#define ENETSENDMULTIADDR0 "239.255.14.60"
#define ENETSENDMULTIADDR1 "239.255.12.60"


#define ENETQOSIPADDR0 10
#define ENETQOSIPADDR1 0
#define ENETQOSIPADDR2 11
#define ENETQOSIPADDR3 61
#define ENETQOSMASK0 255
#define ENETQOSMASK1 255
#define ENETQOSMASK2 255
#define ENETQOSMASK3 0
#define ENETQOSGWADDR0 10
#define ENETQOSGWADDR1 0
#define ENETQOSGWADDR2 11
#define ENETQOSGWADDR3 1
#define ENETQOSSENDMULTIADDR0 "239.255.13.60"
#define ENETQOSSENDMULTIADDR1 "239.255.11.60"

#define RECV0MULTIADDR "239.255.13.130"
#define RECV1MULTIADDR "239.255.14.130"
#define RECV2MULTIADDR "239.255.1.60"
#define RECV3MULTIADDR "239.255.2.60"
#define RECV4MULTIADDR "239.255.13.50"
#define RECV5MULTIADDR "239.255.14.50"

extern QueueHandle_t can1_recv_queue_ebv11_a, can1_recv_queue_2A, can1_recv_queue_eiu31_a, can1_recv_queue_eiu32_a;
extern QueueHandle_t can1_recv_queue_eiu33_a, can1_recv_queue_eiu3a_a, can1_recv_queue_eiu3_a, can1_recv_queue_eiu4_a;
extern QueueHandle_t can1_recv_queue_eiu5_a, can1_recv_queue_eiu6_a, can1_recv_queue_bpcm61_a, can1_recv_queue_bpcm62_a;
extern QueueHandle_t can1_recv_queue_bpcm63_a, can1_recv_queue_bccm71_a, can1_recv_queue_bccm72_a, can1_recv_queue_bccm73_a;
extern QueueHandle_t can1_recv_queue_bccm74_a, can1_recv_queue_ibcm81_a, can1_recv_queue_ibcm82_a;
extern QueueHandle_t can2_recv_queue_ebv11_b, can2_recv_queue_2B, can2_recv_queue_eiu31_b, can2_recv_queue_eiu32_b;
extern QueueHandle_t can2_recv_queue_eiu33_b, can2_recv_queue_eiu3a_b, can2_recv_queue_eiu3_b, can2_recv_queue_eiu4_b;
extern QueueHandle_t can2_recv_queue_eiu5_b, can2_recv_queue_eiu6_b, can2_recv_queue_bpcm61_b, can2_recv_queue_bpcm62_b;
extern QueueHandle_t can2_recv_queue_bpcm63_b, can2_recv_queue_bccm71_b, can2_recv_queue_bccm72_b, can2_recv_queue_bccm73_b;
extern QueueHandle_t can2_recv_queue_bccm74_b, can2_recv_queue_ibcm81_b, can2_recv_queue_ibcm82_b;

extern EventGroupHandle_t can_recv_event_handle;
extern SemaphoreHandle_t file_mutex_handle;

extern snvs_lp_srtc_datetime_t rtc_date_now;
void TaskCreat();
#endif /* TEST_H_ */
